package com.cd.javacxy.common.model.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * cxy_topic_vote实体类
 *
 * @author yhy
 */
@Data
public class CxyTopicVote {
    /***/
    private Integer voteId;
    /***/
    private Integer topicId;
    /**
     * 1是单选 2是多选
     */
    private Integer voteType;
    /***/
    private Date endDate;

    private String endDateString;

    private int sumCount;

    private List<CxyTopicVoteDetail> topicVoteDetailList = new ArrayList<>();

    private List<CxyTopicVoteUser> topicVoteUserList = new ArrayList<>();

    private boolean canVote;


}
